EasyDB: Simple SQL Persistence for Python
Updated: 2012-03-31 18:51:46
: Coderholic best enjoyed with coffee blog about subscribe twitter EasyDB : Simple SQL Persistence for Python Python provides some great tools for simple data persistence . For key value storage there's anydb for when you have only string values , and shelve for when you've got more complex values eg . lists or objects Sometimes key value persistence doesn't cut it . For example , you might want to sort , filter or query your data efficiently . In those situations you can always use Python's built in support for SQLite a serverless self-contained SQL database engine . With SQLite you've got to worry about database schemas , connections and transactions though . A far cry from simple persistence Enter EasyDB essentially a really simple SQLite wrapper for that saves you from having to worry

Voidspace The website , technical blog and projects of Michael Foord Home Blog Book IronPython Python Projects Python Articles Contact Python Programming , news on the Voidspace Python Projects and all things . techie Front page All By Date All By Category RSS Feed 1237 unittest.mock and mock 1.0 alpha 1 One of the results of the Python Language Summit at PyCon 2012 is that mock is now in the Python standard library . In Python 3.3 mock is available as unittest.mock For those of you who may not know , mock is a library for testing in Python . It allows you to replace parts of your system under test with mock . objects The standard distribution of mock that you all know and love will still be available as a backport of the standard library version , but the standard library is now where new